#include <Spring.h>
class ExampleLayer : public Spring::Layer
{
public:
	ExampleLayer()
		: Layer("Example")
	{}

	void OnUpdate() override
	{
		SP_TRACE("ExampleLayer::Update");
	}

	void OnEvent(Spring::Event& event) override
	{
		SP_TRACE("{0}", event);
	}
};

class SandBox : public Spring::Application
{
public:
	SandBox()
	{
		PushLayer(new ExampleLayer());
		PushOverlay(new Spring::ImGuiLayer());
	}
	~SandBox()
	{

	}

private:

};


Spring::Application* Spring::CreateApplication()
{
	return new SandBox();
}